home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form frmChDir
- Caption = "Change (*.avb) Directory"
- ClientHeight = 3090
- ClientLeft = 2385
- ClientTop = 1725
- ClientWidth = 4455
- Height = 3495
- Left = 2325
- LinkTopic = "Form1"
- ScaleHeight = 3090
- ScaleWidth = 4455
- Top = 1380
- Width = 4575
- Begin CommandButton cmdClose
- Caption = "&Close"
- Height = 495
- Left = 2640
- TabIndex = 8
- Top = 960
- Width = 1215
- End
- Begin CommandButton cmdCancel
- Caption = "Ca&ncel"
- Height = 495
- Left = 2640
- TabIndex = 5
- Top = 1560
- Width = 1215
- End
- Begin DirListBox Dir1
- Height = 1830
- Left = 240
- TabIndex = 2
- Top = 360
- Width = 1815
- End
- Begin DriveListBox Drive1
- Height = 315
- Left = 240
- TabIndex = 1
- Top = 2520
- Width = 1815
- End
- Begin CommandButton cmdDft
- Caption = "De&fault"
- Height = 495
- Left = 2640
- TabIndex = 0
- Top = 2280
- Width = 1215
- End
- Begin Label lblPathDisplay
- Caption = "Label2"
- Height = 255
- Left = 2400
- TabIndex = 7
- Top = 600
- Width = 1815
- End
- Begin Label Label1
- Caption = "Path:"
- Height = 255
- Left = 2400
- TabIndex = 6
- Top = 360
- Width = 1215
- End
- Begin Label lblDir
- Caption = "Di&rectory"
- Height = 255
- Left = 240
- TabIndex = 4
- Top = 120
- Width = 1215
- End
- Begin Label lblDrive
- Caption = "Dri&ve"
- Height = 255
- Left = 240
- TabIndex = 3
- Top = 2280
- Width = 975
- End
- Option Explicit
- Sub cmdCancel_Click ()
- Unload Me
- End Sub
- Sub cmdClose_Click ()
- avbDir = Dir1.Path
- Unload Me
- End Sub
- Sub cmdDft_Click ()
- dftdir = Dir1.Path
- End Sub
- Sub Dir1_Change ()
- lblPathDisplay.Caption = Dir1.Path
- End Sub
- Sub Drive1_Change ()
- Dir1.Path = Drive1.Drive
- End Sub
- Sub Form_Load ()
- Dir1.Path = avbDir
- Drive1.Drive = Left$(avbDir, 2)
- lblPathDisplay.Caption = Dir1.Path
- End Sub
-